package com.fubon.wloan.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "wloan_credit_res", schema = "HY_LOAN")
public class CreditResp {

    @Id
    @NotNull
    @Column(name = "REQ_SN")
    private String reqSn;
    @Column(name = "RIS_CODE")
    private String risCode;
    @Column(name = "REASON_CODE")
    private String reasonCode;
    @Column(name = "REASON_MSG")
    private String reasonMsg;
    @Column(name = "LMT_NO")
    private String lmtNo;
    @Column(name = "TR_EDIT_AMOUNT")
    private int TREditAmount;
    @Column(name = "START_DT")
    private String startDt;
    @Column(name = "END_DT")
    private String endDt;


}